package com.dxy.df.modules.service;

import com.dxy.df.modules.bean.entity.DfLikeEntity;
import com.dxy.df.modules.bean.vo.DfLikeVo;
import com.dxy.df.modules.bean.query.DfLikeQuery;
import com.dxy.df.modules.bean.put.DfLikePut;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author biz@dxy.cn
 * @describe 点赞表
 * @date 2019-10-25 16:23:46
 */
public interface DfLikeService {
	
	DfLikeEntity queryObject(DfLikeQuery query);
	
	List<DfLikeVo> queryList(DfLikeQuery query);
	
	int queryTotal(DfLikeQuery query);
	
	void save(DfLikePut dfLike);
	
	void update(DfLikePut dfLike);
	
	void delete(Integer id);

    int deleteBatch(Integer[] ids);

	void deleteLike(String articleId, String createBy);

}
